package com.vueapi.service;

import com.vueapi.domain.HjCategory;
import com.baomidou.mybatisplus.extension.service.IService;
import com.vueapi.domain.vo.CategoryCountVO;
import com.vueapi.utils.ResultUtils;

import java.util.ArrayList;
import java.util.List;

/**
* @author 15442
* @description 针对表【hj_category】的数据库操作Service
* @createDate 2022-09-20 11:44:51
*/
public interface HjCategoryService extends IService<HjCategory> {

    ResultUtils listPage(Integer pageNum, Integer pageSize, String categorySearch);

    ResultUtils top(HjCategory category);

    void updateArticleCount(Integer id);

    List<CategoryCountVO> getCategoryCount();

    Integer getCount();

    ResultUtils getCategories();

    List<String> checkAndRemoveByIds(String ids);
}
